package com.edu.eduoss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName OssApplication
 * @date 2022/9/15 9:57
 * @Version 1.0
 */
@EnableFeignClients //开启openfeign
@EnableDiscoveryClient //开启nacos
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan(basePackages = "com.edu")
public class OssApplication {
//oss对象存储
    public static void main(String[] args) {
        SpringApplication.run(OssApplication.class,args);
    }

}
